package cn.kongwg.demo03;

import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.concurrent.FutureTask;

/**
 * @author kongwg
 * @create 2021-05-27 16:27
 */
public enum SignalDemo {
    INSTANCE;

    public void test(){
        System.out.println("hello,world");
    }

    public static void main(String[] args) throws Exception {
//        Class<SignalDemo> cazz = SignalDemo.class;
//        Constructor<SignalDemo> constructor = cazz.getDeclaredConstructor();
//        constructor.setAccessible(true);
//        SignalDemo signalDemo = constructor.newInstance();
//        SignalDemo signalDemo1 = constructor.newInstance();
//        System.out.println("signalDemo1 = " + signalDemo1);
//        System.out.println("signalDemo = " + signalDemo);
//

        System.out.println(3%5);
        System.out.println(3&4);

        new FutureTask<Integer>(()->{
            return 1;
        });
    }
}
